package com.huike.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ContractVo {

    //客户姓名
    private String name;
    //购买学科
    private String subject;
    //购买课程(从课程表查)
    private String courseName;
    //购买金额
    @TableField("`order`")
    private Integer order;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    //折扣类型 从活动表中去查折扣
    private String discountType;
}
